/*
 * @Author: 噜噜雯雯 2199987619@qq.com
 * @Date: 2025-05-27 08:43:07
 * @LastEditors: 噜噜雯雯 2199987619@qq.com
 * @LastEditTime: 2025-07-21 14:37:06
 * @FilePath: \linePatrol\vue-element-plus-admin\src\api\login\types.ts
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
export interface UserLoginType {
  username: string
  password: string
}
interface UserDeptType {
  ancestors?: string
  children?: any
  createBy?: string
  createTime?: string
  delFlag?: any
  deptId?: number
  deptName?: string
  email?: string
  leader?: string
  orderNum?: number
  params?: any
  parentId?: number
  parentName?: string
  phone?: string
  remark?: string
  status?: string
  updateBy?: string
  updateTime?: string
}
interface UserRoleType {
  admin?: boolean
  createBy?: string
  createTime?: string
  dataScope?: string
  delFlag?: string
  deptCheckStrictly?: boolean
  deptIds?: any
  flag?: boolean
  menuCheckStrictly?: boolean
  menuIds?: any
  params?: any
  permissions?: string
  remark?: string
  roleId?: number
  roleKey?: string
  roleName?: string
  roleSort?: number
  status?: string
  updateBy?: string
  updateTime?: string
}
export interface UserType {
  admin?: boolean
  avatar?: string
  createBy?: string
  createTime?: string
  delFlag?: string
  dept?: UserDeptType
  deptId?: number
  email?: string
  loginDate?: string
  loginIp?: string
  nickName?: string
  params?: any
  password?: string
  phonenumber?: string
  postIds?: any
  remark?: string
  roleId?: number
  roleIds?: any
  roles: UserRoleType[]
  sex?: string
  status?: string
  updateBy?: string
  updateTime?: string
  userId?: number
  userName?: string
}
